.class public Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;
.super Lcom/waiqin365/lightapp/kehu/view/CMCustomView;

# interfaces
.implements Ljava/util/Observer;


# instance fields
.field protected A:J

.field protected a:Landroid/content/Context;

.field protected b:Landroid/app/Activity;

.field protected c:Landroid/widget/ImageView;

.field protected d:Landroid/widget/TextView;

.field protected e:Lcom/waiqin365/lightapp/kehu/share/a/c;

.field protected f:Z

.field protected g:Z

.field protected h:Landroid/widget/TextView;

.field protected i:Landroid/view/View;

.field protected s:Lcom/waiqin365/compons/view/c;

.field protected t:Lcom/waiqin365/lightapp/syorder/view/t;

.field protected u:Ljava/lang/String;

.field protected v:Z

.field protected w:Lcom/waiqin365/base/db/offlinedata/q;

.field protected x:Landroid/view/View;

.field protected y:Z

.field protected z:Lcom/waiqin365/lightapp/syorder/view/s;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->f:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->g:Z

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->u:Ljava/lang/String;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->y:Z

    invoke-virtual {p0, p1}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->a(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method protected a(Landroid/content/Context;)V
    .locals 3

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->a:Landroid/content/Context;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->a:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->b:Landroid/app/Activity;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->a:Landroid/content/Context;

    const v1, 0x7f03024a

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->addView(Landroid/view/View;)V

    const v0, 0x7f0c0055

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->c:Landroid/widget/ImageView;

    const v0, 0x7f0c0058

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    const v0, 0x7f0c0059

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->x:Landroid/view/View;

    new-instance v0, Lcom/waiqin365/lightapp/syorder/view/q;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/syorder/view/q;-><init>(Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;)V

    invoke-virtual {v1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0056

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->h:Landroid/widget/TextView;

    const v0, 0x7f0c005a

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->i:Landroid/view/View;

    return-void
.end method

.method protected a(Lcom/waiqin365/lightapp/kehu/share/a/c;)V
    .locals 5

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    if-eqz p1, :cond_1

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    if-eqz v0, :cond_2

    const-string/jumbo v1, ""

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->l()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->l()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->m()Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v3, v4, v0, v1}, Lcom/waiqin365/lightapp/visit/c/b;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->z:Lcom/waiqin365/lightapp/syorder/view/s;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->z:Lcom/waiqin365/lightapp/syorder/view/s;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/syorder/view/s;->a(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    :cond_1
    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->l()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/base/db/seniorvisitcache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/seniorvisitcache/f;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->l()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->m()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/seniorvisitcache/f;->a(Ljava/lang/String;Ljava/lang/String;)Z

    goto :goto_0
.end method

.method protected a(Ljava/lang/String;)V
    .locals 6

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->s:Lcom/waiqin365/compons/view/c;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v1

    const-string/jumbo v2, ""

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/syorder/view/r;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/syorder/view/r;-><init>(Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;)V

    move-object v3, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->s:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->t:Lcom/waiqin365/lightapp/syorder/view/t;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->t:Lcom/waiqin365/lightapp/syorder/view/t;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/syorder/view/t;->c()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->s:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->g()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->s:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0
.end method

.method public b()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    :goto_0
    return-object v0

    :cond_0
    const-string/jumbo v0, ""

    goto :goto_0
.end method

.method public c()Ljava/lang/CharSequence;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->h:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public synthetic d()Ljava/lang/CharSequence;
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->f()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public e()Lcom/waiqin365/lightapp/kehu/share/a/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    return-object v0
.end method

.method public f()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    :goto_0
    return-object v0

    :cond_0
    const-string/jumbo v0, ""

    goto :goto_0
.end method

.method protected g()V
    .locals 4

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->A:J

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x7d0

    cmp-long v0, v0, v2

    if-gez v0, :cond_0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->A:J

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->A:J

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    new-instance v1, Lcom/waiqin365/lightwork/directory/b/w;

    invoke-direct {v1}, Lcom/waiqin365/lightwork/directory/b/w;-><init>()V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->v:Z

    iput-boolean v0, v1, Lcom/waiqin365/lightwork/directory/b/w;->a:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->y:Z

    iput-boolean v0, v1, Lcom/waiqin365/lightwork/directory/b/w;->b:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->g:Z

    iput-boolean v0, v1, Lcom/waiqin365/lightwork/directory/b/w;->h:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->y:Z

    if-eqz v0, :cond_1

    sget-object v0, Lcom/waiqin365/base/db/offlinedata/q;->b:Lcom/waiqin365/base/db/offlinedata/q;

    :goto_1
    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/w;->c:Lcom/waiqin365/base/db/offlinedata/q;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->n:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/w;->d:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->f()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightwork/directory/b/w;->e:Ljava/lang/String;

    new-instance v0, Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->b:Landroid/app/Activity;

    const-class v3, Lcom/waiqin365/lightwork/directory/DirectorySelectSingleModeActivity;

    invoke-direct {v0, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "param"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->b:Landroid/app/Activity;

    invoke-virtual {v1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->b:Landroid/app/Activity;

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/app/Activity;->overridePendingTransition(II)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->w:Lcom/waiqin365/base/db/offlinedata/q;

    goto :goto_1
.end method

.method public n()V
    .locals 1

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->setEmpInfo(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    return-void
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->onDetachedFromWindow()V

    return-void
.end method

.method public setAclType(Lcom/waiqin365/base/db/offlinedata/q;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->w:Lcom/waiqin365/base/db/offlinedata/q;

    return-void
.end method

.method public setBottomLineStatus(Z)V
    .locals 2

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->i:Landroid/view/View;

    if-eqz p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    const/16 v0, 0x8

    goto :goto_0
.end method

.method public setCanViewAll(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->y:Z

    return-void
.end method

.method public setContent(Ljava/lang/CharSequence;)V
    .locals 2

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->g:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    const-string/jumbo v1, "\u65e0\u4e0a\u7ea7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method public setContentSize(F)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextSize(F)V

    return-void
.end method

.method public setDisplayValue(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    iput-object p1, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method public setEdit(Z)V
    .locals 2

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->f:Z

    if-eqz p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->x:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->x:Landroid/view/View;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public setEmpInfo(Lcom/waiqin365/lightapp/kehu/share/a/c;)V
    .locals 3

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz p1, :cond_3

    iget-object v0, p1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iget-boolean v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->g:Z

    if-eqz v1, :cond_2

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, p1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string/jumbo v1, "-1"

    iget-object v2, p1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    const-string/jumbo v1, "\u65e0\u4e0a\u7ea7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->z:Lcom/waiqin365/lightapp/syorder/view/s;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->z:Lcom/waiqin365/lightapp/syorder/view/s;

    invoke-interface {v0, p1}, Lcom/waiqin365/lightapp/syorder/view/s;->a(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    :cond_1
    return-void

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_3
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->g:Z

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    const-string/jumbo v1, "\u65e0\u4e0a\u7ea7"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method public setHint(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setHint(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setLabel(Ljava/lang/CharSequence;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->h:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public setLabelWidth(F)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->h:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, p1}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->h:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method public setMustinput(Ljava/lang/String;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/kehu/view/CMCustomView;->setMustinput(Ljava/lang/String;)V

    const-string/jumbo v0, "1"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->f:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->c:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public setOnEmployeeSelectListener(Lcom/waiqin365/lightapp/syorder/view/s;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->z:Lcom/waiqin365/lightapp/syorder/view/s;

    return-void
.end method

.method public setOnSelectClickDialog(Ljava/lang/String;Lcom/waiqin365/lightapp/syorder/view/t;)V
    .locals 0

    iput-object p2, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->t:Lcom/waiqin365/lightapp/syorder/view/t;

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->u:Ljava/lang/String;

    return-void
.end method

.method public setPadding(IIII)V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->h:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v1

    int-to-float v2, p1

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v2

    int-to-float v3, p2

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v3

    int-to-float v4, p3

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v4

    int-to-float v5, p4

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->d:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v1

    int-to-float v2, p1

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v2

    int-to-float v3, p2

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v3

    int-to-float v4, p3

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->getContext()Landroid/content/Context;

    move-result-object v4

    int-to-float v5, p4

    invoke-static {v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/widget/TextView;->setPadding(IIII)V

    return-void
.end method

.method public setShowNoSelect(Z)V
    .locals 1

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->g:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->n()V

    :cond_0
    return-void
.end method

.method public setTitleSize(F)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->h:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextSize(F)V

    return-void
.end method

.method public setValue(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/waiqin365/base/db/offlinedata/m;->i(Ljava/lang/String;)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->e:Lcom/waiqin365/lightapp/kehu/share/a/c;

    return-void
.end method

.method public setWindowMode(Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->v:Z

    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 2

    if-eqz p2, :cond_0

    instance-of v0, p2, Lcom/waiqin365/lightapp/view/a/a;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->n:Ljava/lang/String;

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->n()V

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    move-object v0, p2

    check-cast v0, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    instance-of v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    if-eqz v0, :cond_0

    check-cast p2, Lcom/waiqin365/lightapp/view/a/a;

    iget-object v0, p2, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/syorder/view/SyEmployeeSelectView;->a(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    goto :goto_0
.end method
